package com.kinghunt.misp.dal.dao.devicex;

import com.kinghunt.misp.dal.model.devicex.DeviceUsageDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* 设备使用表
* Created by Mybatis Generator on 2025/02/28
*/
public interface DeviceUsageDAO {
    int deleteByPrimaryKey(Long usageId);

    int insert(DeviceUsageDO record);

    int insertSelective(DeviceUsageDO record);

    DeviceUsageDO selectByPrimaryKey(Long usageId);

    int updateByPrimaryKeySelective(DeviceUsageDO record);

    int updateByPrimaryKey(DeviceUsageDO record);
    List<DeviceUsageDO> selectDeviceUsageList(@Param("deviceUsage")DeviceUsageDO record,
                                    @Param("offset")int offset,
                                    @Param("size")int size);

    int selectDeviceUsageListCount(@Param("deviceUsage")DeviceUsageDO record);
}